package com.guiguli.AnOperation;

public class AnOperation {
    public static void main(String[] args) {
        System.out.println(10&3);   //2 只有第二位是两个数字都有
        System.out.println(10|3);   //11 两个中一个满足即可
        System.out.println(10&10);  //10 完全相等
        System.out.println(10^3);   // 两个中只有一个满足才可
        System.out.println(~10);    //-11 +1取反
        System.out.println(~128);   //-129
        System.out.println(!true);  //false
    }
}
